package lab02.test05;

public class Cube {
    int length;
    int wide;
    int high;

    void set(int length, int wide, int high){
        this.length=length;
        this.wide=wide;
        this.high=high;
    }
    int getLength(){

        return length;
    }
    int getWide(){

        return wide;
    }
    int getHigh() {
        return high;
    }
    int volume(){

        return length*wide*high;
    }
}


